<?php


namespace App\Models\Admin;


use App\Models\BaseModel;

class UserProfile extends BaseModel {
    protected $table = 'user_profile';
    protected $fillable = [
        'id',
        'truename',
        'idcard',
        'id_photo',
        'sex',
        'birthday',
        'city',
        'signature',
        'education',
        'job',
    ];

    public $timestamps = false;
    /*添加*/
    public function add_id($params){
        return self::create($params);
    }
}
